<div class="payment_p"></div>
        <div class="cart_list_t">产品清单</div>
        <table class="cart_table">
        	<thead>
            	<tr>
                    <td>产品名称</td>
                    <td>版本</td>
                    <td>授权方式</td>
                    <td>订购价(&yen;)</td>
                    <td>数量</td>
                    <td>金额(&yen;)</td>
                </tr>
            </thead>
            <tbody>
            	{section name=cbID loop=$arrayCarInfos}
				  <tr>
					<!-- <td><input type="checkbox"></td> -->
					<td class="cart_name"><a href="details.php?pid={$arrayCarInfos[cbID].id}" target="_blank">{$arrayCarInfos[cbID].name}</a></td>
					<td>{$arrayCarInfos[cbID].version}</td>
					<td>{$arrayCarInfos[cbID].license}</td>
					<td>{$arrayCarInfos[cbID].price}</td>
					<td>{$arrayCarInfos[cbID].num}</td>
					<td>{$arrayCarInfos[cbID].smallTotalPrice}</td>					
				  </tr>
				  {/section}                
            </tbody>
        </table>
        <p class="cart_tip"><span>运费：<i>免费送货 运费 0 元</i></span></p>
        <p class="cart_count">总计：<i>&yen;{$totalPrice}</i></p>
        <!-- <div class="cart_ctrl"><p class="payment_c">会员登录后自动显示收货信息<a href="#" class="btn_viplog"></a></p></div> -->
        <form id="form1" name="form1" action="confirm-post.php" method="post">
		<div class="confirm_form">
        	<div class="confirm_form_t">请确认采购人信息（本栏目信息变更情况将同步到您的账户信息中）</div>
            <div class="confirm_form_i">
            	<p><label><span style="color:red;">*</span>单位名称:</label><input type="text" name="company" value="{$user[0].fdCompany}"></p>
                <p><label>单位地址:</label><input type="text" name="address" value="{$user[0].fdAddress}"></p>
                <p><label>单位电话:</label><input type="text" name="telephone" value="{$user[0].fdTelePhone}"></p>
                <p><label><span style="color:red;">*</span>采购人:</label><input type="text" name="username" value="{$user[0].fdName}"></p>
                <p><label><span style="color:red;">*</span>手机:</label><input type="text" name="mobilephone" value="{$user[0].fdMobilePhone}"></p>
                <p><label><span style="color:red;">*</span>职位:</label><input type="text" name="position" value="{$user[0].fdPosition}"></p>
                <p><label><span style="color:red;">*</span>邮箱:</label><input type="text" name="email" value="{$user[0].fdEmail}"></p>
            </div>
            <div class="confirm_form_t">请确认送货地址</div>
            <div class="confirm_form_i">
            	<p><label><span style="color:red;">*</span>收货人:</label><input type="text" name="clientname" value="{$user[0].fdName}"></p>
                <p><label><span style="color:red;">*</span>收货地址:</label><input type="text" name="clientaddress" value="{$user[0].fdAddress}"></p>
                <p><label><span style="color:red;">*</span>手机:</label><input type="text" name="clientphone" value="{$user[0].fdMobilePhone}"></p>
                <p><label>邮箱:</label><input type="text" name="clientemail" value="{$user[0].fdEmail}"></p>
                <p><label>备注留言:</label><input type="text" name="clientmemo"></p>
            </div>
            <input type="hidden" id="btnsubmit" name="btnsubmit" value="confirm" />
        </div>
        <div class="cart_ctrl"><p class="payment_bt"><a href="javascript:void()" class="btn_confirm" ></a><a href="javascript:void()" class="btn_store" ></a><a href="javascript:void()" class="btn_cancel">取消</a><span>如有问题，欢迎随时致电：020-87509004</span></p></div>
		</form>
		
{literal} 
<script type="text/javascript">
	$('#form1').validate({
		rules: 
		{
			company: {
				required: true
			},
			telephone: {
				isTel:true
			},
			position: {
				required: true
			},
			username: {
				required: true
			},
			mobilephone:{
				required:true,   
				isMobile:true  
			},
			email:{
				required: true,
				email: true
			},
			clientemail: {
				email: true
			},
			clientname: {
				required:true
			},
			clientphone:{
				required:true,   
				isMobile:true  
			}
		},
		messages: 
		{
			company: {
				required: "请输入您的单位名称"
			},
			telephone: {
				isTel:"请输入正确的固定电话"
			},
			position: {
				required: "请输入您的职位"
			},
			username: {
				required: "请输入您的姓名"
			},
			mobilephone: {
				required: "请输入您的手机",   
				isMobile: "请输入一个有效的手机"  
			},
			email: {
				required: "请输入Email地址",
				email: "请输入正确的email地址"
			},
			clientemail: {
				email: "请输入正确的email地址"
			},
			clientname: {
				required: "请输入您的姓名" 
			},
			clientphone:{   
				required: "请输入您的手机",   
				isMobile: "请输入一个有效的手机"  
			}
		},
		errorPlacement: function(error, element) {       
			var $td = $('<p></p>');
			$td.append(error);
			element.closest('p').append($td);     
		}
	});
	
	$('.btn_confirm').click(function(){
		if($("#form1").validate()){
		 $("#form1").submit();
	 }
	});
	$('.btn_store').click(function(){
		if($("#form1").validate()){
		 $("#form1").val("store");
		 $("#form1").submit();
	 }
	});
</script>
{/literal} 